<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    ﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta content="" name="description"/>
    <meta content="webthemez" name="author"/>
    <title>约健体育联盟服务端</title>
    <!-- Bootstrap Styles-->
    <link href="/yuejian/Public/assets/css/bootstrap.css" rel="stylesheet"/>
    <!-- FontAwesome Styles-->
    <link href="/yuejian/Public/assets/css/font-awesome.css" rel="stylesheet"/>
    <!-- Morris Chart Styles-->
    <link href="/yuejian/Public/assets/js/morris/morris-0.4.3.min.css" rel="stylesheet"/>
    <!-- Custom Styles-->
    <link href="/yuejian/Public/assets/css/custom-styles.css" rel="stylesheet"/>
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'/>
    <link rel="stylesheet" href="/yuejian/Public/assets/js/Lightweight-Chart/cssCharts.css">
</head>
<body>
<div id="wrapper">
    <nav class="navbar navbar-default top-navbar" role="navigation">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">
                <strong><i class="icon fa fa-plane"></i>&nbsp;&nbsp;&nbsp;&nbsp; 约健体育联盟</strong>
            </a>
        </div>

        <ul class="nav navbar-top-links navbar-right">
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">
                    <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                    </li>
                    <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                    </li>
                    <li class="divider"></li>
                    <li><a href="#"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                    </li>
                </ul>
                <!-- /.dropdown-user -->
            </li>
        </ul>
    </nav>
    <!--/. NAV TOP  -->
    <nav class="navbar-default navbar-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="main-menu">

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 活动管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="#">活动信息列表</a>
                        </li>
                        <li>
                            <a href="#">添加活动</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 教练管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="/yuejian/coach/coachlist">教练信息列表</a>
                        </li>
                        <li>
                            <a href="/yuejian/coach/coachadd">添加教练</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 比赛管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="#">比赛信息列表</a>
                        </li>
                        <li>
                            <a href="#">添加比赛信息</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 俱乐部管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="/yuejian/club/clublist">俱乐部列表</a>
                        </li>
                        <li>
                            <a href="/yuejian/club/clubadd">添加俱乐部信息</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 视频管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="/yuejian/video/videolist">视频信息列表</a>
                        </li>
                        <li>
                            <a href="/yuejian/video/videoadd">添加教练信息</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 培训课程管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="#">培训课程列表</a>
                        </li>
                        <li>
                            <a href="#">添加课程信息</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#"><i class="fa fa-sitemap"></i> 用户管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level" >
                        <li>   <!--class="active-menu"-->  <!-- collapse in-->  <!--aria-expanded="true"-->
                            <a href="#">用户信息列表</a>
                        </li>
                    </ul>
                </li>

            </ul>

        </div>

    </nav>
    <!-- /. NAV SIDE  -->

    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="/yuejian/Public/assets/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="/yuejian/Public/assets/js/bootstrap.min.js"></script>
<!-- Metis Menu Js -->
<script src="/yuejian/Public/assets/js/jquery.metisMenu.js"></script>
<!-- DATA TABLE SCRIPTS -->
<script src="/yuejian/Public/assets/js/dataTables/jquery.dataTables.js"></script>
<script src="/yuejian/Public/assets/js/dataTables/dataTables.bootstrap.js"></script>
<script>
    $(document).ready(function () {
        $('#dataTables-example').dataTable();
    });
</script>
<!-- Custom Js -->
<script src="/yuejian/Public/assets/js/custom-scripts.js"></script>


</body>
</html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta content="" name="description" />
    <meta content="webthemez" name="author" />
    <title>Bootstrap Admin Theme</title>
    <!-- Bootstrap Styles-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FontAwesome Styles-->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />

    <link href="assets/css/select2.min.css" rel="stylesheet" >
    <link href="assets/css/checkbox3.min.css" rel="stylesheet" >
    <!-- Custom Styles-->
    <link href="assets/css/custom-styles.css" rel="stylesheet" />
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>
<body>
<div id="wrapper">


    <div id="page-wrapper" >
        <div class="header">
            <h1 class="page-header">
                修改教练详情 <small>Mod Coach</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="/yuejian/coach/coachlist">教练列表</a></li>
                <li class="active">修改教练</li>
            </ol>

        </div>

        <div id="page-inner">
            <form method="post" action="/yuejian/Home/Coach/modCoachinfo?coach_id=<?php echo ($coachInfo['0']['coach_id']); ?>
" enctype="multipart/form-data">
                <?php if(is_array($coachinfo)): $i = 0; $__LIST__ = $coachinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$coach): $mod = ($i % 2 );++$i;?><div class="form-group">
                    <label for="coach_name">教练姓名</label>
                    <input type="text" class="form-control" name="coach_name" id="coach_name" value="<?php echo ($coach["coach_name"]); ?>">
                </div>
                <div class="form-group">
                    <label for="coach_nikename">教练昵称</label>
                    <input type="text" class="form-control" name="coach_nikename" id="coach_nikename"  value="<?php echo ($coach["coach_nikename"]); ?>">
                </div>


                <div class="form-group">
                    <label for="file">教练头像</label>
                    <input type="file" name="file" id="file">
                    <p class="help-block">注：教练头像可以为空</p>
                </div>

                <div class="form-group">
                    <label for="coach_intro">教练简介</label>
                    <input type="text" class="form-control" name="coach_intro" id="coach_intro"  value="<?php echo ($coach["coach_intro"]); ?>">
                </div>

                <div class="form-group">
                    <label for="coach_type">教练类型</label>
                    <input type="text" class="form-control"  name="coach_type" id="coach_type"  value="<?php echo ($coach["coach_type"]); ?>">
                </div>

                <div class="form-group">
                    <label for="coach_club_id">教练所属俱乐部</label>
                    <input type="number" class="form-control"  name="coach_club_id" id="coach_club_id"  value="<?php echo ($coach["coach_club_id"]); ?>">
                </div>




                <button type="submit" class="btn btn-default">修改</button><?php endforeach; endif; else: echo "" ;endif; ?>
            </form>



            <footer><p>Copyright &copy; 2016.Company name All rights reserved.<a target="_blank" href="http://www.cssmoban.com/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a></p></footer>
        </div>
        <!-- /. PAGE INNER  -->
    </div>
    <!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="assets/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="assets/js/bootstrap.min.js"></script>
<!-- Metis Menu Js -->
<script src="assets/js/jquery.metisMenu.js"></script>
<script src="assets/js/select2.full.min.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $(".selectbox").select2();
    });
</script>
<!-- Custom Js -->
<script src="assets/js/custom-scripts.js"></script>



</body>
</html>